import debounce from './modules/debounce'
import date from './modules/date'

// 导入的指令放到这里
const directives: { [key: string]: any } = {
	debounce,
	date,
}

export default {
	install(Vue: any) {
		console.log(directives, '==')
		Object.keys(directives).forEach((key) => {
			console.log(key, directives[key], 'key, directives[key]')
			Vue.directive(key, directives[key])
		})
	},
}
